package com.three.productList.feign;

import com.three.core.entity.User;
import com.three.core.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：li
 * @date ：Created in 2025/3/13 013 15:32
 * @description：
 * @modified By：
 * @version:
 */
@FeignClient(value = "car-wash-system",fallbackFactory = UserFallbackFactory.class)
public interface UserMyFeign {
    @GetMapping("/system/user/getByName")
    public R<User> selectByName(@RequestParam String userName);
}
